/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */

#ifndef __PQ_PhysicsEngine_H__
#define __PQ_PhysicsEngine_H__

#include "EnginePrerequisites.h"
#include "GameObject.h"

namespace PQEngine
{
	//use bullet as our physics engine
	class PhysicsEngine
	{
	protected:
		PhysicsEngine();
	public:
		~PhysicsEngine();
		static PhysicsEngine& getSingleton();

		void init();
		void initTerrain();
		void initGameObject(GameObject *object);
		void initRigidBody(GameObject* object);

		void update(float deltaT);
	};

}

#endif
